home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmClipboardUndoCopy.z / XmClipboardUndoCopy
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddUUUUnnnnddddooooCCCCooooppppyyyy((((3333XXXX))))   UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV   XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddUUUUnnnnddddooooCCCCooooppppyyyy((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddUUUUnnnnddddooooCCCCooooppppyyyy - A clipboard function that deletes the
  10.           last item placed on the clipboard
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/CutPaste.h>
  14.           int XmClipboardUndoCopy (_d_i_s_p_l_a_y, _w_i_n_d_o_w)
  15.                   Display * _d_i_s_p_l_a_y;
  16.                   Window  _w_i_n_d_o_w;
  17.           (vvvvooooiiiidddd)
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddUUUUnnnnddddooooCCCCooooppppyyyydeletes the last item placed on the
  24.           clipboard if the item was placed there by an application
  25.           with the passed _d_i_s_p_l_a_y and _w_i_n_d_o_w arguments. Any data item
  26.           deleted from the clipboard by the original call to
  27.           XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddCCCCooooppppyyyy is restored. If the _d_i_s_p_l_a_yor _w_i_n_d_o_w IDs do
  28.           not match the last copied item, no action is taken, and this
  29.           function has no effect.
  30.  
  31.           _d_i_s_p_l_a_y   Specifies a pointer to the DDDDiiiissssppppllllaaaayyyy structure that
  32.                     was returned in a previous call to XXXXOOOOppppeeeennnnDDDDiiiissssppppllllaaaayyyy or
  33.                     XXXXttttDDDDiiiissssppppllllaaaayyyy.
  34.  
  35.           _w_i_n_d_o_w    Specifies the window ID of a widget that relates
  36.                     the application window to the clipboard. The
  37.                     widget's window ID can be obtained through
  38.                     XXXXttttWWWWiiiinnnnddddoooowwww.  The same application instance should
  39.                     pass the same window ID to each clipboard function
  40.                     it calls.
  41.  
  42.      RRRREEEETTTTUUUURRRRNNNN
  43.           _X_m_C_l_i_p_b_o_a_r_d_S_u_c_c_e_s_s
  44.                     The function was successful.
  45.  
  46.           _X_m_C_l_i_p_b_o_a_r_d_L_o_c_k_e_d
  47.                     The function failed because the clipboard was
  48.                     locked by another application. The application can
  49.                     continue to call the function again with the same
  50.                     parameters until the lock goes away. This gives
  51.                     the application the opportunity to ask if the user
  52.                     wants to keep trying or to give up on the
  53.                     operation.
  54.  
  55.      RRRREEEELLLLAAAATTTTEEEEDDDD
  56.           XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddLLLLoooocccckkkk(3) and XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttCCCCooooppppyyyy(3).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.